import Vue from 'vue'
import App from './App.vue'
import router from "./router"
import store from './store'
//导入vant的包
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
//移动端适配包
import 'lib-flexible'
//导入提示
import "@/utlis/toast.js"
//引入字体图标
import "./assets/iconfont/iconfont.css"
//图片懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);
//视屏
/* 通过  下包播放直播流
 import Video from "video.js";
import "video.js/dist/video-js.min.css"
Vue.prototype.$video = Video
import "videojs-contrib-hls"; */
//优秀的短视屏插件   中文插件包
import VueCoreVideoPlayer from 'vue-core-video-player'
Vue.use(VueCoreVideoPlayer, {
  lang: 'zh-CN'
})
//集成微信SDK
/* 
组件中使用
 var wx = require('weixin-js-sdk')
wx.config({ ...}) */
//富文本    引入 Froala Editor js file.
require('froala-editor/js/froala_editor.pkgd.min')
//引入中文语言包
require('froala-editor/js/languages/zh_cn')
//引入 Froala Editor css files.
require('froala-editor/css/froala_editor.pkgd.min.css')
// Import and use Vue Froala lib.
import VueFroala from 'vue-froala-wysiwyg'
Vue.use(VueFroala)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
